﻿using System.Windows;
using System.Windows.Controls;

namespace FazaDemo.PL.Wpf
{
    class RadioButtonFactory : IVisualElemFactory
    {

        private string _content;

        public RadioButtonFactory(string content)
        {
            _content = content;
        }

        public UIElement Create()
        {
            return new RadioButton{Content = _content};
        }
    }
}